﻿using System.Collections.Generic;
using System.Linq;

namespace CML.Intercamber.Business.Dao
{
    public class HobbiesDao
    {
        public static List<Hobbies> ListHobbies()
        {
            List<Hobbies> res;
            using (var context = new IntercamberEntities())
            {
                res = context.Hobbies.ToList();
            }
            return res;
        }
    }
}
